﻿using System;
using System.Windows.Forms;

namespace CalcSharp.MDIUI
{
    public partial class LoadWinFileSelect : Form
    {
        public LoadWinFileSelect()
        {
            InitializeComponent();
        }

        private void TbFile_TextChanged(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(TbFile.Text)) BtnOk.Enabled = false;
            else BtnOk.Enabled = true;
        }

        public string FilePath
        {
            get { return this.TbFile.Text; }
            set { this.TbFile.Text = value; }
        }
    }
}
